<?php
namespace app\admin\controller;

use app\admin\model\Index as ModelIndex;
use frame\lib\Db;
class Index extends Base
{
    public function index()
    {
        $this->view('index');
    }
    public function main()
    {
        $main = ModelIndex::main();
        $this->view('main' ,['data' => $main]);
    }
  
}
